import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/home/Home'
import signup from '@/views/user/signup'
import login from '@/views/user/login'
import main from '@/views/user/main'
import order from '@/views/appoint/order'
import paiban from '@/views/appoint/paiban'
import test from '@/views/appoint/test'


import paibantable from '@/views/appoint/paibantable'
import yuyuetable from '@/views/appoint/yuyuetable'
import keshi from '@/views/appoint/keshi'
import admin from '@/views/admin/admin'
import slide from '@/views/admin/slide'
import doctor from '@/views/doctor/doctor'
import admsignup from '@/views/admin/admsignup'
Vue.use(Router)

export default new Router({
 mode:'hash',
  routes: [
   { path: '/test', name: 'Test', component: test },
     { path: '/', name: 'Home', component: Home },
      { path: '/home', name: 'Home', component: Home },
      { path: '/signup', name: 'signup', component: signup },
      { path: '/login', name: 'login', component: login },
      { path: '/main', name: 'main', component: main },
      { path: '/order', name: 'order', component: order },
      { path: '/paiban', name: 'paiban', component: paiban },
      { path: '/paibantable', name: 'paibantable', component: paibantable },
      { path: '/yuyuetable', name: 'yuyuetable', component: yuyuetable },
      { path: '/keshi', name: 'keshi', component: keshi },
      { path: '/admin', name: 'admin', component: admin },
      { path: '/slide', name: 'slide', component: slide },
      {path: '/doctor', name: 'doctor', component: doctor },
      { path: '/admsignup', name: 'admsignup', component: admsignup}

  ]
})
